#pragma once

class MainMenu
{
public:
	MainMenu();
	~MainMenu();

	void Layout();

protected:
	void OnOpen_();
	void OnSave_();
	void OnEditModeChanged_(int _index);

protected:
	MGUI_Layout * mLayout;
	MGUI_Button * mBn_Open;
	MGUI_Button * mBn_Save;

	MGUI_Layout * mLayout_EditMode;
	MGUI_ComboBox * mCb_EditMode;

	tListener0<MainMenu> OnOpen;
	tListener0<MainMenu> OnSave;
	tListener1<MainMenu, int> OnEditModeChanged;
};

